package com.cndym.constant;

public class Constants {
    public static final String DEFAULT_XSD = "DEFAULT_XSD";// header校验
    public static final String XSD_PATH = "XSD_PATH";// schame文件根地址
    public static final String MD5_DIGEST_TYPE = "md5";
    // 入帐类型
    public static final String R00000 = "00000";// 支付宝
    public static final String R00100 = "00100";// 出票失败退款
    public static final String R00101 = "00101";// 撤销退款(暂未使用)
    public static final String R00104 = "00104";// 追号出票失败退款
    public static final String R00105 = "00105";// 追号撤销
    public static final String R00106 = "00106";// 赠送失败
    public static final String R00103 = "00103";// 撤资(合买撤单 撤资)
    public static final String R00200 = "00200";// 返奖
    public static final String R00201 = "00201";// 返点
    public static final String R00400 = "00400";// 返佣
    public static final String R00500 = "00500";// 手工调整加
    public static final String R00700 = "00700";// 赠金


    // 出帐类型
    public static final String P10000 = "10000";// 代购支付
    public static final String P10001 = "10001";// 追号支付
    public static final String P10003 = "10003";// 认购(合买)
    public static final String P10004 = "10004";// 赠送彩票
   // public static final String P10005 = "10005";// 捐赠公益
    public static final String P10200 = "10200";// 手续费
    public static final String P10400 = "10400";// 额度减
    public static final String P10500 = "10500";// 保底转认购
    public static final String P10501 = "10501";// 提现成功
    public static final String P10502 = "10502";// 红包返利(充值金变赠金)
    public static final String P10600 = "10600";// 直接扣款
    public static final String P10601 = "10601";// 捐赠公益
    public static final String R10701 = "10701";// 支付退款
    //其他
    //冻结
    public static final String P20000 = "20000";// 提现冻结
    public static final String P20001 = "20001";// 保底支付
    public static final String P20002 = "20002";// 红包增利
    //解冻
    public static final String P20100 = "20100";// 解冻
    public static final String P20101 = "20101";// 保底退款
    public static final String P20102 = "20102";// 解冻红包


    // 帐户临时操作状态
    public static final int ACCOUNT_OPERATOR_TEMP_STATUS_WAIT = 0;
    public static final int ACCOUNT_OPERATOR_TEMP_STATUS_DOING = 1;
    public static final int ACCOUNT_OPERATOR_TEMP_STATUS_SUCCESS = 2;
    public static final int ACCOUNT_OPERATOR_TEMP_STATUS_FAILURE = 3;

    // 特殊金额
    public static final double DOUBLE_ZERO = 0d;
    public static final int INTEGER_ZERO = 0;
    // 未分配出票口
    public static final String NO_POST_CODE = "00";

    /*--- 会员状态  ---*/
    /**
     * 初始状态
     */
    public static final int MEMBER_STATUS_INIT = 0;// 初始状态
    
    /**
     * 活动状态
     */
    public static final int MEMBER_STATUS_LIVE = 1;// 活动状态
    
    /**
     * 锁定状态
     */
    public static final int MEMBER_STATUS_LOCK = 2;// 锁定状态
    
    /**
     * 删除状态
     */
    public static final int MEMBER_STATUS_DELETE = 3;// 删除状态
    
    /**
     * 校验密码失败，锁定2小时
     */
    public static final int MEMBER_STATUS_LOCK_2HOUR = 4;//校验密码失败，锁定2小时
    /*--- 会员状态  ---*/

    
    /*----会员类型---*/
    public static final int MEMBER_GENERAL_TYPE = 0;//普通会员
    public static final int MEMBER_COOPERATION_TYPE = 1;//联盟会员

    //联盟状态
    public static final int COOPERATION_STATUS_FREEZE = 0;//冻结
    public static final int COOPERATION_STATUS_LIVE = 1;//开通

    //方案是否是异常
    public static final int PROGRAMS_EXCEPTION_NO = 0;
    public static final int PROGRAMS_EXCEPTION_YES = 1;

    // memo
    public static final String FILL_SUCCESS_MEMO = "充值成功";
    public static final String ORDER_CANCEL_MEMO = "撤单退款";
    public static final String ORDER_FAILURE_MEMO = "投注退款";
    public static final String ORDER_PRESENT_FAILURE_MEMO = "赠送退款";
    public static final String ORDER_BAODI_MEMO = "退还保底";
    public static final String ORDER_BAODI_TORENGGOU_MEMO = "保底转认购";
    public static final String ORDER_SUCCESS_MEMO = "投注支付";
    public static final String DRAW_FREEZE_MEMO = "提现冻结";
    public static final String DRAW_SUCCESS_MEMO = "提现成功";
    public static final String DRAW_FAILURE_MEMO = "提现失败";
    public static final String BONUS_SUCCESS_MEMO = "返奖完成";
    public static final String AGENT_SUCCESS_MEMO = "返点完成";
    public static final String BONUS_FEE_MEMO = "提现交易手续费";
    public static final String BONUS_DIY_MEMO = "手工调整";
    public static final String COMMISSION_SUCCESS_MEMO = "返佣完成";
    
    public static final String ORDER_SUCCESS_DONATE_MEMO = "捐赠公益";

    public static final String ACCOUNT_OPERATOR_DJ = "冻结";
    public static final String ACCOUNT_OPERATOR_JD = "解冻";
    
    public static final String FILL_REFUNDS_MEMO = "充值退款";
    // 充值状态
    public static final Integer FILL_WAIT = 0;
    public static final Integer FILL_SUCCESS = 1;
    public static final Integer FILL_FAILURE = 2;

    // 充值类型
    public static final String FILL_FROM_ALIPAY = "01";//支付宝
    public static final String FILL_FROM_ALIPAY_DNA = "02";//支付宝网银

    public static final String FILL_FROM_99BILL_PHONE_CARD = "03";//快钱充值卡
    public static final String FILL_FROM_99BILL_GAME_CARD = "04";//快钱游戏卡
    public static final String FILL_FROM_99BILL_DNA = "05";//快钱网银
    public static final String FILL_FROM_99BILL = "06";//快钱
    public static final String FILL_FROM_ALIPAY_BANK = "07";//支付宝银行直连 2014-12-12
    public static final String FILL_FROM_ALIPAY_EXPRESS = "09";//支付宝快捷

    public static final String FILL_FROM_IC = "15";//公交IC卡
    public static final String FILL_FROM_MG = "16";//妙购

    //支付宝客户端
    public static final String FILL_FROM_ALIPAY_CLIENT = "30";
    //易联付(充值卡)
    public static final String FILL_FROM_ELIANPAY_CLIENT = "31";
    //帮付通
    public static final String FILL_FROM_BFTPAY_CLIENT = "32";
    //拉卡拉
    public static final String FILL_FROM_LKLPAY_CLIENT = "33";
    //财付通
    public static final String FILL_FROM_TENPAY_CLIENT = "34";
    //农行手机充值
    public static final String FILL_FROM_ABCPAY_CLIENT = "35";
    //联动优势
    public static final String FILL_FROM_UMPAY_CLIENT = "36";
    //汇付天下
    public static final String FILL_FROM_HFTXPAY_CLIENT = "37";
    //卡联易淘客
    public static final String FILL_FROM_ETK_CLIENT = "38";
    //银联电话
    public static final String FILL_FROM_YILIAN_CLIENT = "39";
    //YY 币
    public static final String FILL_FROM_YY = "40";
    
    //直接充值
    public static final String FILL_FROM_DIRECT = "41";
    //宁波银行充值
    public static final String FILL_FROM_NBCB = "42";
    //安智
    public static final String FILL_FROM_ANZHI = "43";
    //中信银行
    public static final String FILL_FROM_CITIC = "44";
    //建行
    public static final String FILL_FROM_CCB = "45";
    /**
     * 交通银行
     */
    public static final String FIll_FROM_JT = "46";
    /**
     * 大集客
     */
    public static final String FIll_FROM_DJK = "47";
    /**
     * 酷派快捷支付
     */
    public static final String FIll_FROM_COOLPAD = "48";
    
    /**
     * 广东农行
     */
    public static final String FILL_FROM_ABCPAY_CLIENT_GD = "49";
    
    /**
     * ICBC
     */
    public static final String FILL_FROM_ICBC = "50";
    
    /**
     * 泉州农行
     */
    public static final String FILL_FROM_QUANZHOU = "51";
    
    /**
     * 江西建行
     */
    public static final String FILL_FROM_CCB_JX = "52";
    
    public static final String FILL_FROM_LKL_QB = "53";
    
    /**
     * 广东农行IOS 端充值
     */
    public static final String FILL_FROM_ABCPAY_CLIENT_GD_IOS = "54";
    
    /**
     * 广东农行 安卓 端充值
     */
    public static final String FILL_FROM_ABCPAY_CLIENT_GD_ANDRIOD = "55";
    
    /**
     * 江西建设银行Wap充值
     */
    public static final String FILL_FROM_CCB_JX_WAP = "56";
    
    public static final String FILL_BODY = "中彩汇充值";
    public static final String FILL_FROM_CMB_DNA = "86";//招行网银
    public static final String FILL_FROM_SHENG_PAY = "87";//盛付通
    public static final String FILL_FROM_CASH_COUPON = "88";//代金劵
    public static final String FILL_FROM_OUFEI = "89";//欧飞
    public static final String FILL_FROM_YINLIAN = "90";//银联
    public static final String FILL_FROM_WEIXIN = "91";//微信
    public static final String FILL_FROM_WEIXIN2 = "92";//微信(直接在微信购买彩票而充值)
    public static final String FILL_FROM_WEIXIN_PUB = "93";//微信(公共账号充值)


    // 提现状态
    public static final Integer DRAW_WAIT = 0;//待审
    public static final Integer DRAW_SUCCESS = 1;//等待打款
    public static final Integer DRAW_FAILURE = 2;//驳回
    public static final Integer REMITTANCE_SUCCESS = 3;//打款成功

    /* BATCH TRANSFER STATUS. ADD BY YIHUA.SHEN 20120926 */
    public static final Integer DRAW_NEEDUPLOAD = 4;//等待批量文件上传
    public static final Integer DRAW_UPLOAD_FAIL = 5;//上传失败
    public static final Integer DRAW_UPLOAD_SUCCESS = 6;//上传成功
    public static final Integer DRAW_DEAL_FAIL = 7;//处理失败
    public static final Integer DRAW_DEAL_SUCCESS = 8;//处理成功
    /* END ADD */

    // 提现方式
    public static final String DRAW_TYPE_UNIONPAY = "01";//银联
    public static final String DRAW_TYPE_ALIPAY = "02";//支付宝
    public static final String DRAW_TYPE_99BILL = "03";//快钱

    // 追号方案状态
    public static final Integer AUTO_ORDER_STATUS_DOING = 0;// 进行中
    public static final Integer AUTO_ORDER_STATUS_COMPLETE = 1;// 已经完成


    // 方案状态
    public static final Integer PROGRAMS_STATUS_DEFAULT = -1;// 入库状态
    public static final Integer PROGRAMS_STATUS_WAIT = 0;// 等待成交
    public static final Integer PROGRAMS_STATUS_SUCCESS = 1;// 投注成功
    public static final Integer PROGRAMS_STATUS_SOME_FAILURE = 2;// 部分成交
    public static final Integer PROGRAMS_STATUS_FAILURE = 3;// 投注失败
    public static final Integer PROGRAMS_STATUS_SYS_CANCEL = 4;// 系统取消
    public static final Integer PROGRAMS_STATUS_DIY_CANCEL = 6;// 人工取消
    public static final Integer PROGRAMS_STATUS_TIME_OUT = 5;// 流单

    // 取消模式
    public static final String OPERATOR_FROM_SYS = "01";// 系统
    public static final String OPERATOR_FROM_DIY = "02";// 用户
    public static final String OPERATOR_FROM_ADM = "03";// 管理员

    //套餐状态
    public static final Integer PROGRAMS_PACKAGE_STATUS_NORMAL = 0;// 正常
    public static final Integer PROGRAMS_PACKAGE_STATUS_COMPLETE = 1;//完成
    public static final Integer PROGRAMS_PACKAGE_STATUS_CANCEL = 2;//取消


    // 订单状态
    public static final Integer ORDER_STATUS_NORMAL = 0;// 正常
    public static final Integer ORDER_STATUS_SYS_CANCEL = 1;// 取消
    public static final Integer ORDER_STATUS_DIY_CANCEL = 2;// 人工取消

    // 方案置顶
    public static final Integer PROGRAMS_TOP_YES = 1;// 已置顶
    public static final Integer PROGRAMS_TOP_NO = 0;// 未置顶

    // 方案发单状态
    public static final Integer PROGRAMS_SEND_WAIT = 0;// 等待发单
    public static final Integer PROGRAMS_SEND_DOING = 1;// 已发单

    // 中奖状态
    public static final Integer BONUS_STATUS_WAIT = 0;// 等待开奖
    public static final Integer BONUS_STATUS_YES = 1;// 中奖
    public static final Integer BONUS_STATUS_NO = 2;// 未中奖
    //是否派奖
    public static final Integer BONUS_TO_ACCOUNT_NO = 0;// 未派奖
    public static final Integer BONUS_TO_ACCOUNT_YES = 1;// 派奖

    public static final Integer BONUS_STOP_NO = 0;// 中奖后不停止
    public static final Integer BONUS_STOP_YES = 1;// 中奖后停止
    public static final Integer BONUS_STOP_AMOUNT = 3;// 中奖到多少金额停止

    // 手工返奖状态
    public static final Integer HANDWORK_BONUS_WAIT = 0;// 等待
    public static final Integer HANDWORK_BONUS_SUCCESS = 1;// 已返
    public static final Integer HANDWORK_BONUS_CANCEL = 2;//取消
    public static final Integer HANDWORK_BONUS_NOT = 3;//线下派奖

    // 返奖状态
    public static final Integer ISSUE_BONUS_STATUS_NO = 0;// 未返奖
    public static final Integer ISSUE_BONUS_STATUS_YES = 1;// 已返奖

    /*------------- 购买类型----------------*/
    /**
     * 代购
     */
    public static final Integer BUY_TYPE_DAI_GOU = 1;// 代购
    /**
     * 合买
     */
    public static final Integer BUY_TYPE_HUO_MAI = 2;// 合买
    public static final Integer BUY_TYPE_TAO_CAN = 3;// 套餐
    public static final Integer BUY_TYPE_ZHUI_HAO = 4;// 追号
    public static final Integer BUY_TYPE_REN_GOU = 5;// 合买认购
    public static final Integer BUY_TYPE_SAVE_PRO = 6;// 保存方案
    public static final Integer BUY_TYPE_PRESENT = 7;//赠送彩票
    public static final Integer BUY_TYPE_DIRECT = 8;//直接扣款

    // 订单类型
    public static final Integer ORDER_TYPE_PT = 0;// 代购
    public static final Integer ORDER_TYPE_FQHM = 1;// 发起合买认购
    public static final Integer ORDER_TYPE_ZDGD = 2;// 自动跟单
    public static final Integer ORDER_TYPE_HMRG = 3;// 合买认购
    public static final Integer ORDER_TYPE_BD = 4;// 保底转认购
    public static final Integer ORDER_TYPE_XTBD = 5;// 系统保底
    public static final Integer ORDER_TYPE_XFQHSC = 6;// 先发起后上传
    public static final Integer ORDER_TYPE_DSSC = 7;// 单式上传
    public static final Integer ORDER_TYPE_ZH = 8;// 追号
    public static final Integer ORDER_TYPE_TC = 9;// 套餐
    public static final Integer ORDER_TYPE_ZS = 10;//赠送


    // 票状态
    public static final Integer TICKET_STATUS_DOING = 0;// 已发消息队列...这个状态在后面不再使用
    public static final Integer TICKET_STATUS_WAIT = 1;// 需要程序查询出来
    public static final Integer TICKET_STATUS_SENDING = 2;// 票已发送出去但是没有收到回执
    public static final Integer TICKET_STATUS_SUCCESS = 3;// 出票成功
    public static final Integer TICKET_STATUS_FAILURE = 4;// 出票失败
    public static final Integer TICKET_STATUS_CANCEL = 5;// 取消出票
    public static final Integer TICKET_STATUS_TIME_OUT = 6;// 流单

    //注册来源
    public static final String LOGIN_PLATFORM_NOMAL = "01";
    public static final String LOGIN_PLATFORM_ALIPAY = "02";//支付宝
    public static final String LOGIN_PLATFORM_QQ = "03";//QQ
    public static final String LOGIN_PLATFORM_WB = "04";//新浪微博
    public static final String LOGIN_PLATFORM_KX = "05";//开心网
    public static final String LOGIN_PLATFORM_RR = "06";//人人网

    //平台
    public static final String PLATFORM_SMS = "01";//短信
    public static final String PLATFORM_WEB = "02";//web
    public static final String PLATFORM_IPHONE_CLIENT = "03";//ios
    public static final String PLATFORM_ANDROID_CLIENT = "04";//android中彩票
    public static final String PLATFORM_KJAVA_CLIENT = "05";//kjava
    public static final String PLATFORM_MTK_CLIENT = "06";//mtk
    public static final String PLATFORM_IVR = "07";//ivr
    public static final String PLATFORM_WAP = "08";//wap
    public static final String PLATFORM_HTML5 = "09";//html5
    public static final String PLATFORM_ANDROID_SPORT = "10";//安卓中竞彩
    public static final String PLATFORM_ANDROID_TV = "11";//TV中彩票
    public static final String PLATFORM_IPHONE_VOICE = "12";//ios语音
    public static final String PLATFORM_IPHONE_FEE = "13";//ios收费
    public static final String PLATFORM_IPAD = "50";//ipad
    public static final String PLATFORM_VIP = "51";//vip

    // 期次相关状态
    public static final Integer ISSUE_STATUS_WAIT = 0;// 默认期次状态/预约/追号
    public static final Integer ISSUE_STATUS_START = 1;// 开售，前台当前期
    public static final Integer ISSUE_STATUS_PAUSE = 2;// 暂停
    public static final Integer ISSUE_STATUS_END = 3;// 结期
    public static final Integer ISSUE_SALE_WAIT = 0;// 等待出票
    public static final Integer ISSUE_SALE_SEND = 1;// 出票

    // 用户登陆方式
    public static final Integer MEMBER_LOGIN_MOBILE = 0;// 使用手机号码登陆
    public static final Integer MEMBER_LOGIN_USER_NAME = 1;// 使用用户名登陆
    public static final Integer MEMBER_LOGIN_EMAIL = 2;// 使用email登陆

    // 排序
    public static final String DESC = "desc";// 降序
    public static final String ASC = "asc";// 升序
    public static final String DEFAULT_PARTNERS_CODE = "80001";

    public static final Integer MOBILE_TEST_TYPE_SEND_SMS = 0;
    public static final Integer MOBILE_TEST_TYPE_BIND_EMAIL = 1;
    public static final Integer MOBILE_TEST_TYPE_BIND_MOBILE = 2;
    public static final Integer MOBILE_TEST_TYPE_PRESENT_MOBILE = 3;
    public static final Integer MOBILE_TEST_TYPE_YOUHUIMA = 4;
    public static final Integer MOBILE_TEST_TYPE_REGIST = 5; //注册

    //短信验证码 status
    public static final Integer MOBILE_TEST_STATUS_NEW = 0;
    public static final Integer MOBILE_TEST_STATUS_OLD = 1;
    public static final Integer MOBILE_TEST_STATUS_OVERDUE = 2;
    //
    public static final Integer SMS_VIP_A = 0;
    public static final Integer SMS_VIP_B = 1;
    public static final Integer SMS_VIP_C = 2;

    public static final Integer SMS_VIP_STATUS_YES = 0;
    public static final Integer SMS_VIP_STATUS_NO = 1;

    // memcached 当前期次
    public static final String MEMCACHED_CURRENT_ISSUE_LIST = "memcached.current.issue.list";
    public static final String MEMCACHED_SALE_ISSUE_LIST = "memcached.sale.issue.list";
    
    public static final String MEMCACHED_JCBONUSQUERY_THREAD_SIZE = "memcached.jcbonusquery.thread.size";

    //邮件发送
    public static final Integer SEND_EMAIL_WAIT = 0;
    public static final Integer SEND_EMAIL_SUCCESS = 1;
    public static final Integer SEND_EMAIL_FAILURE = 2;
    //短信发送
    public static final Integer SEND_SMS_WAIT = 0;
    public static final Integer SEND_SMS_SUCCESS = 1;
    public static final Integer SEND_SMS_FAILURE = 2;

    //查询条件默认每页条数
    public static final Integer PAGE_SIZE_50 = 50;
    public static final Integer PAGE_SIZE_20 = 20;
    public static final Integer PAGE_SIZE_30 = 30;
    public static final Integer PAGE_SIZE_10 = 10;
    public static final Integer PAGE_SIZE_5 = 5;

    //日志操作类型
    public static final Integer MANAGER_LOG_DEFAULT = 0;//默认类型
    public static final Integer MANAGER_LOG_LONGIN = 1;//登录/退出
    public static final Integer MANAGER_LOG_DATA = 2;//日终数据处理操作
    public static final Integer MANAGER_LOG_USER_MESSAGE = 3;//会员管理
    public static final Integer MANAGER_LOG_BUY_ORDER_MESSAGE = 4;//投注管理
    public static final Integer MANAGER_LOG_WIN_MESSAGE = 5;//派奖处理
    public static final Integer MANAGER_LOG_REMIND_MESSAGE = 6;//提醒管理
    public static final Integer MANAGER_LOG_SYS_MESSAGE = 7;//系统管理
    public static final Integer MANAGER_LOG_EDIT_FOOTBALL_ISSUE = 8;//录入足彩彩期
    public static final Integer MANAGER_LOG_START_CAL_AWARD = 9;//启动算奖
    public static final Integer MANAGER_LOG_OPEN_AWARD_MESSAGE = 10;//	录入开奖号码
    public static final Integer MANAGER_LOG_EDIT_BONUS_INFO = 11;//录入开奖公告
    public static final Integer MANAGER_LOG_COOPERATION_MESSAGE = 12;//接入代理管理
    public static final Integer MANAGER_LOG_XYY_ERROR_MESSAGE = 13;//雪缘园错误日志
    public static final Integer MANAGER_LOG_FC_TICKET = 14; //德彩福彩出票口
    public static final Integer MANAGER_LOG_TC_TICKET = 15; //德彩体彩出票口
    public static final Integer MANAGER_LOG_DC_TICKET = 16; //北京单场出票口
    public static final Integer MANAGER_LOG_JC_ISSUE_MANAGES = 17; //竞彩彩期管理
    public static final Integer MANAGER_LOG_MODIFY_FOOTBALL_ISSUE = 18;//修改足彩彩期

    public static final Integer MANAGER_LOG_EDIT_INFO = 19;//编辑系统资讯
    public static final Integer MANAGER_LOG_EDIT_NOTICE = 20;//编辑系统公告
    public static final Integer MANAGER_LOG_EDIT_ISSUE = 21;//批量录入彩期

    //套餐类型(1 机选投注 2 幸运选号 3 自选投注)
    public static final Integer PACKAGE_JXTZ = 1;
    public static final Integer PACKAGE_XYXH = 2;
    public static final Integer PACKAGE_ZXTZ = 3;

    public static final String MASTER_CODE = "8001";
    public static final String CMD_CODE = "95555";

    //短信服务名
    public static final String SMS_SERVICE_CHICK = "001";

    //上一期信息
    public static final String LAST_ISSUE_KEY = "last.issue.key.";


    //招商银行支付连接的3种模式
    public static final Integer FILL_CMB_LINK_TYPE_1 = 1;
    public static final Integer FILL_CMB_LINK_TYPE_2 = 2;
    public static final Integer FILL_CMB_LINK_TYPE_3 = 3;


    //渠道联盟
    public static final Integer COOPERATION_CHANNEL_TYPE = 0;
    //手机厂商
    public static final Integer COOPERATION_MOBILE_TYPE = 1;
    //其他
    public static final Integer COOPERATION_OTHER_TYPE = 2;


    //为联盟发送期次通知
    public static final String COOPERATION_SEND_ISSUE_NOTICE = "2000";
    //为联盟发送方案通知
    public static final String COOPERATION_SEND_PROGRAMS_NOTICE = "2001";
    //为联盟发送中奖通知
    public static final String COOPERATION_SEND_BONUS_NOTICE = "2002";
    //为联盟发送中奖INFO通知
    public static final String COOPERATION_SEND_BONUS_INFO_NOTICE = "2003";


    //推广渠道
    //亿起发
    public static final Integer TRACK_YQF_PLATFORM = 0;
    //pc蛋蛋
    public static final Integer TRACK_PCDD_PLATFORM = 1;
    //其他
    public static final Integer TRACK_OTHER_PLATFORM = 2;
    //豆豆网
    public static final String TRACK_DOUDOU_SRC = "doudou";
    public static final Integer TRACK_DOUDOU_PLATFORM = 3;
    //博客
    public static final String TRACK_BOKE_SRC = "boke";
    public static final Integer TRACK_BOKE_PLATFORM = 4;
    //微博
    public static final String TRACK_WEIBO_SRC = "weibo";
    public static final Integer TRACK_WEIBO_PLATFORM = 5;
    //邮件
    public static final String TRACK_EDM_SRC = "edm";
    public static final Integer TRACK_EDM_PLATFORM = 6;
    //网站广告
    public static final String TRACK_WEB_SRC = "web";
    public static final Integer TRACK_WEB_PLATFORM = 7;

    public static final String TRACK_DOUDOU_DEFAULT_ENCODING = "GB2312";

    //推广订单
    //注册
    public static final Integer TRACK_TRANSACTION_REGISTER = 0;
    //充值
    public static final Integer TRACK_TRANSACTION_FILL = 1;

    //推广信息发送状态
    //未发送
    public static final Integer TRACK_TRANSACTION_SEND_WAIT = 0;
    //发送成功
    public static final Integer TRACK_TRANSACTION_SEND_SUCCESS = 1;
    //发送失败
    public static final Integer TRACK_TRANSACTION_SEND_FAILURE = 2;

    //亿起发src
    public static final String TRACK_YQF_SRC = "emar";
    //pc蛋蛋src
    public static final String TRACK_PCDD_SRC = "pcdd";

    //亿起发默认编码
    public static final String TRACK_YQF_DEFAULT_ENCODING = "GBK";
    //pc蛋蛋默认编码
    public static final String TRACK_PCDD_DEFAULT_ENCODING = "UTF-8";

    //北单,竞彩场次状态
    public static final Integer SUB_ISSUE_END_OPERATOR_DEFAULT = 0;//默认状态
    public static final Integer SUB_ISSUE_END_OPERATOR_END = 1;//结期处理
    public static final Integer SUB_ISSUE_END_OPERATOR_CANCEL = 2;//中途取消
    public static final Integer SUB_ISSUE_END_OPERATOR_NON_DEFAULT = -9;//除默认态之外的（也就是非销售中） 仅供查询使用，库里不会有此值
    //北单，竞彩场次是不否有查询最终SP
    public static final Integer SUB_ISSUE_END_QUERY_NO = 0;//未查询
    public static final Integer SUB_ISSUE_END_QUERY_YES = 1;//已查询
    //北单，竞彩场次返奖状态
    public static final Integer SUB_ISSUE_BONUS_OPERATOR_NO = 0;//未做返奖处理
    public static final Integer SUB_ISSUE_BONUS_OPERATOR_YES = 1;//已做返奖处理
    //彩种期次处理类型
    public static final Integer ALLOW_RESERVE_ISSUE_TYPE = 0;//可预约类期次,数字彩
    public static final Integer NOT_ALLOW_RESERVE_ISSUE_TYPE = 1;//不可预约类期次,竞技彩，北单，竞彩

    //是否是单式上传
    public static final Integer UPLOAD_NO = 0;
    public static final Integer UPLOAD_REAL_TIME = 1;
    public static final Integer UPLOAD_DELAY_TIME = 2;

    //保存方案转投注
    public static final Integer SAVE_PROGRAMS_TO_BETTING_NO = 0;
    public static final Integer SAVE_PROGRAMS_TO_BETTING_YES = 1;


    //算奖状态
    public static final Integer OPERATORS_AWARD_WAIT = 0;
    public static final Integer OPERATORS_AWARD_DOING = 1;
    public static final Integer OPERATORS_AWARD_COMPLETE = 2;

    //赛果录入状态
    public static final Integer INPUT_AWARD_NO = 0;
    public static final Integer INPUT_AWARD_YES = 1;


    //套餐投注成功短信通知模版code
    public static final String TC_SMS_ORDER_SUCCESS_CODE = "0001";
    //套餐中奖短信通知模版code
    public static final String TC_SMS_ORDER_BONUS_CODE = "0002";

    /**
     * 及时比分标示 *
     */
    public final static String NEW_EVENT_KEY = "timeScore";


    //代理关系类型(普通)
    public final static Integer COMMISSION_RELATION_TYPE_NORMAL = 0;

    //代理关系类型(代理用户)
    public final static Integer COMMISSION_RELATION_TYPE_AGENT = 1;

    //代理返点状态 激活
    public final static Integer COMMISSION_RELATION_STATUS_LIVE = 1;
    //代理返点状态 未激活
    public final static Integer COMMISSION_RELATION_STATUS_LOCK = 0;


    //推广佣金标识
    public final static String COMMISSION_ADJUST_ACCOUNT_TYPE = "02";


    public static final Integer CASH_COUPON_NORMAL = 0; //正常
    public static final Integer CASH_COUPON_FRZEE = 1;//冻结
    public static final Integer CASH_COUPON_END = 2;//已作废
    public static final Integer CASH_COUPON_USEED = 3;//已使用

    //支付宝 批量付款到银行账户-批量代发类型
    public static final String BUSSINESS_TYPE_T0 = "T0";
    public static final String BUSSINESS_TYPE_T1 = "T1";

    //支付宝 批量付款到银行账户-清算类型
    public static final Integer SETTLE_TYPE_PREPAID = 0;
    public static final Integer SETTLE_TYPE_SETTLEMENT = 1;

    //支付宝 批量付款到银行账户-查询结果
    public static final String QUERY_RESULT_SUCCESS = "success";
    public static final String QUERY_RESULT_FAIL = "fail";

    //支付宝 批量付款到银行账户-付款文件状态
    public static final String PAY_STATUS_NEEDCHECK = "NEEDCHECK";//待复核
    public static final String PAY_STATUS_FAIL = "FAIL";//处理失败
    public static final String PAY_STATUS_FINISH = "FINISH";//处理完成
    public static final String PAY_STATUS_DISCUE = "DISCUE";//已废除
    public static final String PAY_STATUS_DEALING = "DEALING";//处理中
    //支付宝 批量付款到银行账户 - 文件发送状态
    public static final String UPLOAD_STATUS_FAIL = "FAIL";//发送失败
    public static final String UPLOAD_STATUS_SUCCESS = "SUCCESS";//发送成功
    public static final String UPLOAD_STATUS_NEEDUPLOAD = "NEEDUPLOAD";//待发送
    //支付宝 批量付款到银行账户 - 下载结果状态
    public static final String RESULT_STATUS_NEEDCHECK = "NEEDCHECK";//待复核
    public static final String RESULT_STATUS_FAIL = "FAIL";//处理失败
    public static final String RESULT_STATUS_FINISH = "FINISH";//处理成功

    //支付宝  支付宝转账批次明细记录处理标志
    public static final String ALIPAY_TRANSFER_DETAIL_STATUS_SUCCESS = "SUCCESS";//处理成功
    public static final String ALIPAY_TRANSFER_DETAIL_STATUS_FAIL = "FAIL";//处理失败
    public static final String ALIPAY_TRANSFER_DETAIL_STATUS_DEALED = "DEALED";//处理中
    public static final String ALIPAY_TRANSFER_DETAIL_STATUS_RECORD_FAIL = "RECORD_FAIL";//批次处理失败

    //支付宝 批量付款到银行账户 日志记录级别
    public static final Long ALIPAY_TRANSFER_LOG_LOGLEVEL_NORMAL = 1000L;// 正常
    public static final Long ALIPAY_TRANSFER_LOG_LOGLEVEL_WARN = 2000L;//警告
    public static final Long ALIPAY_TRANSFER_LOG_LOGLEVEL_ERROR = 3000L;//错误

    //支付宝 批量付款到银行账户 日志类型
    public static final Long ALIPAY_TRANSFER_LOG_LOGTYPE_INSERT = 10000L;//添加
    public static final Long ALIPAY_TRANSFER_LOG_LOGTYPE_UPDATE = 20000L;//修改
    public static final Long ALIPAY_TRANSFER_LOG_LOGTYPE_DELETE = 30000L;//删除

    //支付 批量付款到银行账户 通知返回类型
    public static final String ALIPAYTRANSFER_NOTIFY = "bptb_hresult_notify";//后结算模式 批次处理完成返回此通知
    public static final String ALIPAYTRANSFER_RESULT = "bptb_result_file";//预付费模式 批次处理往常返回此通知
    public static final String ALIPAYTRANSFER_UNFREEZE = "bptb_unfreeze_file";//余额不足 批次处理返回此通知


    //审核记录批量处理类型
    public static final Integer DRAW_TRANSFER_TYPE_ALIPAY = 0;//支付宝
    public static final Integer DRAW_TRANSFER_TYPE_99BILL = 1;//快钱

    //审核记录操作类型
    public static final Integer DRAW_TYPE_AUTO = 0;//自动
    public static final Integer DRAW_TYPE_MANUAL = 1;//手动

    //支付宝批量转银行报文请求前置机编码
    public static final String ALIPAYTRANSFER_ENTITY_ENCODE = "GBK";
    public static final String ALIPAYTRANSFER_HEADER_ENCODE = "GBK";

    //活动交易记录状态
    public static final Integer PROMOTION_TRANS_STATUS_WAIT = 0;// 等待交易
    public static final Integer PROMOTION_TRANS_STATUS_SUCCESS = 1;// 交易成功
    public static final Integer PROMOTION_TRANS_STATUS_FAILURE = 2;// 交易失败
    public static final Integer PROMOTION_TRANS_STATUS_SYS_CANCEL = 3;// 系统取消
    public static final Integer PROMOTION_TRANS_STATUS_DIY_CANCEL = 4;// 人工取消

    //网站活动Code
    public static final String PROMOTION_CODE = "001";//竞彩送金

    //活动状态
    public static final String PROMOTION_STATUS_SUCCESS = "1";//启用

    //系统资讯类型
    public static final Integer SYS_INFO_SZ = 1;
    public static final Integer SYS_INFO_JJ = 2;
    public static final Integer SYS_INFO_HY = 3;
    public static final Integer SYS_INFO_ZJ = 4;

    //彩种默认排序key
    public static final String LOTTERY_SORT_DEFAULT = "LOTTERY_SORT_DEFAULT";
    public static final String REGISTER_GAME_DEFAULT = "REGISTER_GAME_DEFAULT";
    public static final String UPDATE_INFO_DEFAULT = "UPDATE_INFO_DEFAULT";
    public static final String LOTTERY_TAG_EXIST = "LOTTERY_TAG_EXIST";

    //联合登录来源
    public static final String UNION_LOGIN_FOR_KQL = "02";
    public static final String UNION_LOGIN_FOR_ETK = "03";
    public static final String UNION_LOGIN_FOR_YY = "04";
    public static final String UNION_LOGIN_FOR_GJ = "05";
    public static final String UNION_LOGIN_FOR_WEIWEI = "06";
    public static final String UNION_LOGIN_FOR_UNI = "07";
    
    //账户类型
    public static final String ACCOUNT_BONUS_AMOUNT = "01";   //奖金账户
    public static final String ACCOUNT_RECHARGE_AMOUNT = "02";//充值金账户
    public static final String ACCOUNT_PRESENT_AMOUNT = "03";//赠金账户
    public static final String ACCOUNT_FREEZE_AMOUNT = "04";//冻结金账户
    
    //赠金分类
    public static final String ACCOUNT_PRESENT_TAG_YY = "08100";//YY语音
    public static final String ACCOUNT_PRESENT_TAG_YOUMI = "09100";//有米
    public static final String ACCOUNT_PRESENT_TAG_DOMOB = "10100";//多盟
    
    public static final String ACCOUNT_PRESENT_DESC_YOUMI = "有米赠金";
    public static final String ACCOUNT_PRESENT_DESC_DOMOB = "多盟赠金";
    
    //竞彩足球 -混投
    public final static String JC_PLAYCODE = "10";
    
    //游戏大厅
    public static final String GAME_HALL_BUY = "buy";
    public static final String GAME_HALL_BONUS = "bonus";
    
    //大于该值时拆票
    public final static int MAX_AMOUNT = 19999;
    //彩种类型
    public final static int LOTTERY_TYPE_SZ = 0;//数字彩
    public final static int LOTTERY_TYPE_JC = 1;//竞技彩
    public final static int LOTTERY_TYPE_ZC = 2;//传统足彩
    
    //彩种  数字彩  竞彩  传统足球
    public final static String[] LOTTERY_FOR_SZ = {"001","002","004","113","110","108","109","107","106","105","006","009","010","011"};
    public final static String[] LOTTERY_FOR_JC = {"200","201","400"};
    public final static String[] LOTTERY_FOR_ZC = {"300","301","302"};
    
    //冠军杯
    public final static String GUANJUN_202 = "202";
    
    // -- 消息类型 -- 
    /** 提现成功 : DRAW_SUCCESS */
    public final static String MESSAGE_TYPE_DRAW_SUCCESS = "DRAW_SUCCESS";
    
    /** 提现失败 : DRAW_RESULT */
    public final static String MESSAGE_TYPE_DRAW_FAIL = "DRAW_FAIL";
    
    /** 中奖 : BONUS_RESULT */
    public final static String MESSAGE_TYPE_BONUS = "BONUS_PROGRAMS";
    
    /** 开奖 : BONUS_NUMBER*/
    public final static String MESSAGE_TYPE_BONUS_NUMBER = "BONUS_NUMBER";
    
    /** 新增红包 : RED_PACKET*/
    public final static String MESSAGE_TYPE_RED_PACKET = "RED_PACKET";
    
    /** 红包过期 : RED_PACKET_EXPIRE*/
    public final static String MESSAGE_TYPE_RED_PACKET_EXPIRE = "RED_PACKET_EXPIRE";
    
    /** 购彩提醒 : BUY_LOTTERTY_WARN*/
    public final static String MESSAGE_TYPE_BUY_LOTTERTY_WARN = "BUY_LOTTERTY_WARN";
    
    /** 出票成功*/
    public final static String MESSAGE_TYPE_ORDER_SUCCESS = "ORDER_SUCCESS";
    
    /** 投注失败*/
    public final static String MESSAGE_TYPE_ORDER_FAILURE = "ORDER_FAILURE";
    
    /** 追号中奖停追 */
    public final static String AUTO_ORDER_BONUS_STOP = "AUTO_ORDER_BONUS_STOP";
    
    /** 追号到期 */
    public final static String AUTO_ORDER_ISSUE_END = "AUTO_ORDER_ISSUE_END";
    
    /** 新增道具 */
    public final static String MESSAGE_TYPE_PROPS = "ADD_PROPS";
    
    /** 道具到期 */
    public final static String MESSAGE_TYPE_PROPS_EXPIRE = "PROPS_EXPIRE";
    
    /** 公告活动*/
    public final static String MESSAGE_TYPE_NOTICE = "NOTICE_MESSAGE";
    
    /** 通过UID添加我为好友 */
    public final static String MESSAGE_NEW_FANS = "NEW_FANS";
    
    /** 我关注的人发起合买 */
    public final static String FOLLOW_SUBSCRIBE = "FOLLOW_SUBSCRIBE";
    
    /** 获的称号 */
    public final static String MESSAGE_TYPE_WON_TITLE =  "WON_TITLE";
    
    
    /** 消息类型集合 提现（成功，失败）*/
    public final static String[] DRAW_MESSAGE_TYPE_ARRAY = {MESSAGE_TYPE_DRAW_SUCCESS,MESSAGE_TYPE_DRAW_FAIL};
    
    /** 消息类型集合 中奖*/
    public final static String[] BONUS_MESSAGE_TYPE_ARRAY = {MESSAGE_TYPE_BONUS,AUTO_ORDER_BONUS_STOP};
    
    /** 投注类型集合 出票（成功，失败*/ 
    public final static String[] PROGRAMS_MESSAGE_TYPE_ARRAY = {MESSAGE_TYPE_ORDER_SUCCESS,MESSAGE_TYPE_ORDER_FAILURE};
    
    /** 投注类型集合 新增（红包，道具）*/ 
    public final static String[] RED_PACKET_PROPS_MESSAGE_TYPE_ARRAY = {MESSAGE_TYPE_RED_PACKET,MESSAGE_TYPE_PROPS};

    /** 投注类型集合 过期（红包，道具）*/ 
    public final static String[] EXPIRE_MESSAGE_TYPE_ARRAY = {MESSAGE_TYPE_RED_PACKET_EXPIRE,MESSAGE_TYPE_PROPS_EXPIRE};
    
    /** 社交相关 （加好友，好友发起合买）*/
    public final static String[] SOCIAL_MESSAGE_TYPE_ARRAY = {FOLLOW_SUBSCRIBE,MESSAGE_NEW_FANS};
    
}
